//Swimmer.java
package decorator.sample;

/**
 *@author:youtubezou
 *@version:2012-7-18
 */
public class Swimmer extends RoleOfMan {
	
	public Swimmer(Man man){
		super(man);
	}
	
	public void move(){
		man.move();
		swim();
	}
	
	private void swim(){
		System.out.println("Swimming.........");
	}
}
